<template lang="">
    <div class="container">
        container
    </div>
</template>
<script>

import { onBeforeMount, onMounted } from 'vue'
export default {

    setup() {

        onBeforeMount(() => {
            console.log("DOM渲染前", document.querySelector('.container'))
        })

        onMounted(() => {
            console.log("DOM渲染后1", document.querySelector('.container'))
        })

        onMounted(() => {
            console.log("DOM渲染后2", document.querySelector('.container'))
        })


    }

}
</script>
<style lang="">
    
</style>